package com.zhsource.system.service;

import com.github.pagehelper.PageInfo;
import com.zhsource.system.domain.Permission;
import com.zhsource.system.query.PermissionQuery;

import java.util.List;

/**
 * <p>@ClassName：IPermissionService
 * <p>@Date 2023/10/17  23:28
 *
 * @Author zzl
 **/
public interface IPermissionService {
    List<Permission> list();

    Permission selectById(Long id);

    PageInfo<Permission> page(PermissionQuery permissionQuery);

    void update(Permission permission);

    void insert(Permission permission);

    void delete(Long id);

    void batchDel(List<Long> ids);
}
